﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArgusPCLib
{
	public delegate void ValueChangedEventHandler<T>(object sender, ValueChangedEventArgs<T> e);

	public class ValueChangedEventArgs<T> : EventArgs
	{
		public T OldValue { get; private set; }
		public T NewValue { get; private set; }

		public ValueChangedEventArgs(T oldValue, T newValue)
			:base()
		{
			this.OldValue = oldValue;
			this.NewValue = newValue;
		}
	}
}
